]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionPrefs: Trick xgettext into accepting odd number of backticks
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 29 Oct 2019 13:01:07 +0000 (14:01 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 29 Oct 2019 17:38:06 +0000 (17:38 +0000)
commit10b2083d3e34cd332d6152526baf9dadbdf9b103
tree12c30616f09d0764f5568b013631ffa01316f5a1
parentfa1b7a9ef526e8a7a53863de0c375eb20b576d86
extensionPrefs: Trick xgettext into accepting odd number of backticks

Xgettext learned about template strings now, which is good. However
it's still buggy, so instead of the "classic" xgettext issue with
backticks, we now have exciting new issues to find work-arounds for.

One issue is that it doesn't detect backticks inside string constants
as regular characters, so having an odd number of backticks throws off
its regex.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/792
js/extensionPrefs/main.js